//
//  NetworkManager.h
//  PigMarket
//
//  Created by Felix on 2019/4/11.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NetworkConfigration.h"
#import "Request.h"
#import "Response.h"
NS_ASSUME_NONNULL_BEGIN

@interface NetworkManager : NSObject

+(instancetype)sharedInstance;

- (NSURLSessionDataTask *)sendRequest:(Request *)request
                    completionHandler:(void (^)(Response *response))completionHandler;

@end

NS_ASSUME_NONNULL_END
